package com.heima.feign.config;

import feign.Logger;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackages = "com.heima.feign.clients.fallback")
@EnableFeignClients(basePackages = "com.heima.feign.clients")
public class HeimaFeignAutoConfiguration {

    @Bean
    public Logger.Level level(){
        return Logger.Level.FULL;
    }

}
